package cn.singno.bob.jpa.entity;

import java.io.Serializable;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;


@Entity
@Table(name="user")
public class User implements Serializable{

	/**
	 * 
	 */
	private static final long serialVersionUID = -5426199558709774611L;
	private String id = "xyagsja";
	private String name;
	private Integer age;
	
	private static final Boolean FLAG = true;
	
	private static  String s = "adfs";
	
	@Id
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public Integer getAge() {
		return age;
	}
	public void setAge(Integer age) {
		this.age = age;
	}
	@Override
	public String toString() {
		return "User [id=" + id + ", name=" + name + ", age=" + age + "]";
	}
	
	public Boolean getData(Boolean data){
		return data;
	}
	
	public String getData(String data){
		return data;
	}
	
}
